package com.inspur.s57.datacatalog.vo;

import lombok.Data;

import java.util.List;

@Data
public class DataTablesVO<T> {

    private List<T> data;

    private long recordsTotal;

    private long recordsFiltered;

    private int draw;

    public DataTablesVO() {

    }

    public DataTablesVO(List<T> data, long recordsTotal, long recordsFiltered, int draw) {
        this.data = data;
        this.recordsTotal = recordsTotal;
        this.recordsFiltered = recordsFiltered;
        this.draw = draw;
    }
}
